<template>
  <div class="big-box">
    <div class="form">
      <div class="container">
        <div class="box login">
          <h2>管理员登录</h2>
          <p>ADMIN&nbsp;&nbsp;LOGIN</p>
        </div>
        <div class="box box2 username">
          <input
            type="text"
            v-model="inputVipAdmin.VipUsername"
            placeholder="管理员名称"
          />
        </div>
        <div class="box box2 pwd">
          <input
            type="text"
            v-model="inputVipAdmin.VipPassword"
            placeholder="密码"
          />
        </div>
        <div class="box button">
          <router-link to="/AdminSystem1">登录</router-link>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // VipAdmin: {
      //   VipUsername: "zs",
      //   VipPassword: "123",
      // },
      inputVipAdmin: {
        VipUsername: "",
        VipPassword: "",
      },
    };
  },
  methods: {
    checking() {},
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
  margin: 0 !important;
  height: 100%;
}
.box {
  box-sizing: border-box;
}
input {
  outline: none;
  border: none;
}
a {
  text-decoration: none;
}
.big-box {
  width: 100%;
  height: 100vh;
  /* height: 100%; */
  background: url("./bj.png") no-repeat;
  background-size: 100%;
}
.form {
  width: 470px;
  height: 100%;
  background-color: #ededed;
  position: relative;
  left: 946px;
  display: flex;
  align-items: center;
}

.form .container {
  width: 100%;
}

.form .container .box {
  width: 100%;
  height: 50px;
  margin-bottom: 30px;
  position: relative;
}

.form .container .login {
  color: #247ced;
}

.form .container .login p {
  color: #7f8c8d;
  font-size: 17px;
}

.form .container input {
  box-sizing: border-box;
  margin-top: 3px;
  padding: 0px 5px;
  position: absolute;
  right: 0;
  width: 420px;
  height: 40px;
  font-size: 18px;
}

.form .container input::placeholder {
  font-size: 18px;
}

.form .container .username {
  background: url("./user.png") no-repeat;
  background-position: 10px 5px;
}

.form .container .pwd {
  background: url("./pwd.png") no-repeat;
  background-position: 10px 5px;
}

.form .container .box2 {
  border: 1px solid #bdc3c7;
  background-color: white;
}

.form .container .button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  font-size: 20px;
  background-color: #247ced;
  color: white;
}

.form .container .box2 a {
  color: #247ced;
}
</style>
